<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'top.jsp' starting page</title>

		<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}

.STYLE1 {
	font-size: 12px;
	color: #FFFFFF;
}

.STYLE2 {
	font-size: 12px;
	color: #333333;
}

-->
a:link {
	font-size: 12px;
	color: #000000;
	text-decoration: none;
}

a:visited {
	font-size: 12px;
	color: #000000;
	text-decoration: none;
}

a:hover {
	font-size: 12px;
	color: #00CCFF;
	text-decoration: none;
}

.STYLE4 {
	font-size: 12px
}
</style>
	</head>

	<body>
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td height="11" background="system/images/main_03.gif">
					<img src="system/images/main_01.gif" width="104" height="11">
				</td>
			</tr>
			<tr>
				<td height="36" background="system/images/main_07.gif">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="282" height="52"
								background="system/images/main_05.gif">
								&nbsp;
							</td>
							<td>
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td>
											<span class="STYLE1"><img src="system/images/home.gif"
													width="12" height="13"> </span><span class="STYLE4"><a
												href="<%=basePath%>index.jsp" target="_top">回首页</a>
											</span>
											<span class="STYLE1"><img src="system/images/home.gif"
													width="12" height="13"> </span><span class="STYLE4">
													<a
												href="system/view_person.action" target="I2">回后台首页</a>
											</span>
											<span class="STYLE1"><img src="system/images/quit.gif"
													width="12" height="13"> </span><span class="STYLE4"><a
												href="system/login.jsp" target="_top">登录</a>
											</span>
											
										</td>
									</tr>
								</table>
							</td>
							<td width="247" background="system/images/main_08.gif">
								&nbsp;
							</td>
							<td width="283" background="system/images/main_09.gif">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td>
											<img src="system/images/uesr.gif" width="14" height="14">
											<span class="STYLE2"> 当前登录用户：<s:url
													action="view_person" namespace="/system" id="url">
													<s:param name="person.id">${ personInfo.id }</s:param>
												</s:url> <a href="${url}" target="I2">${ personInfo.account }</a> 角色：${
												personInfo.group }</span>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</body>
</html>
